Handle Workflow Execution
For Checking execution
Check Execution of Workflow Link
OR
For using in your project, simply create an empty react app.
npx create-react-app my-app --template typescript
cd my-app
Install mstate react executor (Link)
npm i mstate-react
Open app.tsx and paste the code below
import React from 'react';
import './App.css';
import Mstate from 'mstate-react';
function App() {
return (
<div className="App">
<Mstate token="your-secret-key" workflow="demo/sign_up_form" />
</div>
);
}
export default App;
Hurray🥳! you successfully executed your first workflow